const item = {
  name: 'system',
  cn: '系统',
  path: '/system',
  defaultPath: '/system/list',
  level: 1,
  auths: [],
  haveRouter: [],
  hiddenRouter: [],
  children: [
    {
      name: 'SystemAppListWrapper',
      cn: '应用',
      icon: '#icon-adhibition',
      path: '/system/list',
      // componentPath: 'system/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'appList',
          cn: '应用列表',
          path: '/system/list',
          componentPath: 'system/app/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: ['appEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'appAdd',
          cn: '增加应用',
          path: '/system/appadd',
          componentPath: 'system/app/Add',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'appEdit',
          cn: '应用编辑',
          path: '/system/appedit/:id',
          componentPath: 'system/app/Edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'setting',
      cn: '设置',
      icon: '#icon-shezhi',
      path: '/setting/list',
      defaultPath: '',
      level: 2,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'SettingAdd',
          cn: '配置添加',
          path: '/setting/settingadd',
          componentPath: 'setting/setting/Add',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'SettingList',
          cn: '配置列表',
          path: '/setting/list',
          componentPath: 'setting/setting/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: ['SettingEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'SettingTree',
          cn: '配置分类',
          path: '/setting/tree',
          componentPath: 'setting/settingclass/Tree',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: ['SettingTopClassAdd', 'SettingTopClassEdit', 'SettingSubClassAdd', 'SettingSubClassEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SettingEdit',
          cn: '配置编辑',
          path: '/setting/settingedit/:id',
          componentPath: 'setting/setting/Edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SettingTopClassAdd',
          cn: '顶级配置分类添加',
          path: '/setting/topclassadd',
          componentPath: 'setting/settingclass/TopAdd',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SettingTopClassEdit',
          cn: '顶级配置分类编辑',
          path: '/setting/topclassedit/:id',
          componentPath: 'setting/settingclass/TopEdit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SettingSubClassAdd',
          cn: '配置子分类添加',
          path: '/setting/subclassadd',
          componentPath: 'setting/settingclass/SubClassAdd',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SettingSubClassEdit',
          cn: '配置子分类编辑',
          path: '/setting/subclassedit/:id',
          componentPath: 'setting/settingclass/SubClassEdit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'advert',
      cn: '广告',
      icon: '#icon-ad',
      path: '/advert/advertlist',
      defaultPath: '',
      level: 2,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'AdvertAdd',
          cn: '广告添加',
          path: '/advert/advertadd',
          componentPath: 'advert/advert/Add',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'AdvertList',
          cn: '广告管理',
          path: '/advert/advertlist',
          componentPath: 'advert/advert/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: ['AdvertEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'AdvertClassTree',
          cn: '广告分类管理',
          path: '/advert/advertclasstree',
          componentPath: 'advert/advertclass/Tree',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: ['AdvertTopClassAdd', 'AdvertTopClassEdit', 'AdvertSubClassAdd', 'AdvertSubClassEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AdvertTopClassAdd',
          cn: '广告顶级分类添加',
          path: '/advert/topclassadd',
          componentPath: 'advert/advertclass/TopAdd',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AdvertTopClassEdit',
          cn: '广告顶级分类编辑',
          path: '/advert/topclassedit/:id',
          componentPath: 'advert/advertclass/TopEdit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AdvertSubClassAdd',
          cn: '广告子分类添加',
          path: '/advert/subclassadd',
          componentPath: 'advert/advertclass/SubClassAdd',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AdvertSubClassEdit',
          cn: '广告子分类编辑',
          path: '/advert/subclassedit/:id',
          componentPath: 'advert/advertclass/SubClassEdit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AdvertEdit',
          cn: '广告编辑',
          path: '/advert/advertedit/:id',
          componentPath: 'advert/advert/Edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'sms',
      cn: '短信',
      icon: '#icon-note',
      path: '/sms/list',
      defaultPath: '',
      level: 1,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'SmsAdd',
          cn: '短信配置添加',
          path: '/sms/add',
          componentPath: 'sms/setting/Add',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'SmsList',
          cn: '短信配置列表',
          path: '/sms/list',
          componentPath: 'sms/setting/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'SmsLogList',
          cn: '短信日志列表',
          path: '/sms/loglist',
          componentPath: 'sms/log/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'SmsEdit',
          cn: '短信配置编辑',
          path: '/sms/edit/:id',
          componentPath: 'sms/setting/Edit',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'inmail',
      cn: '站内信',
      icon: '#icon-shortmessage',
      path: '/inmail/list',
      defaultPath: '',
      level: 1,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'MailList',
          cn: '站内信',
          path: '/inmail/list',
          componentPath: 'inmail/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: ['MailInfo'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'MailInfo',
          cn: '站内信详情',
          path: '/inmail/info/:id',
          componentPath: 'inmail/Info',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'favorite',
      cn: '收藏夹',
      icon: '#icon-shoucangjia',
      path: '/favorite/list',
      defaultPath: '',
      level: 1,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'FavoriteList',
          cn: '收藏夹',
          path: '/favorite/list',
          componentPath: 'favorite/favorite/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: ['UserFavorite'],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'FavoriteTree',
          cn: '收藏夹分类',
          path: '/favorite/tree',
          componentPath: 'favorite/favoriteclass/Tree',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: ['FavoriteTopAdd', 'FavoriteTopEdit', 'FavoriteSubAdd', 'FavoriteSubEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'UserFavorite',
          cn: '用户收藏',
          path: '/favorite/userfavorite/:id',
          componentPath: 'favorite/favorite/UserFavoriteList',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'FavoriteTopAdd',
          cn: '顶级收藏分类添加',
          path: '/favorite/favoritetopadd',
          componentPath: 'favorite/favoriteclass/TopAdd',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'FavoriteTopEdit',
          cn: '顶级收藏分类编辑',
          path: '/favorite/favoritetopedit/:id',
          componentPath: 'favorite/favoriteclass/TopEdit',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'FavoriteSubAdd',
          cn: '收藏子分类添加',
          path: '/favorite/favoritesubadd',
          componentPath: 'favorite/favoriteclass/SubAdd',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'FavoriteSubEdit',
          cn: '收藏子分类编辑',
          path: '/favorite/favoritesubedit/:id',
          componentPath: 'favorite/favoriteclass/SubEdit',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'opinionWrapper',
      cn: '意见反馈',
      icon: '#icon-feedback',
      path: '/opinion/list',
      defaultPath: '',
      level: 1,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'Opinion',
          cn: '意见反馈',
          path: '/opinion/list',
          componentPath: 'opinion/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: ['OpinionInfo'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'OpinionInfo',
          cn: '意见反馈',
          path: '/opinion/info',
          componentPath: 'opinion/Info',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'addressWrapper',
      cn: '地址管理',
      icon: '#icon-site',
      path: '/address/list',
      defaultPath: '',
      level: 1,
      auths: [],
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'address',
          cn: '地址列表',
          path: '/address/list',
          componentPath: 'address/List',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: ['AddressTopAdd', 'AddressTopEdit', 'AddressSubAdd', 'AddressSubEdit'],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AddressTopAdd',
          cn: '地址添加',
          path: '/address/topadd',
          componentPath: 'address/TopAdd',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AddressTopEdit',
          cn: '顶级地址编辑',
          path: '/address/topedit',
          componentPath: 'address/TopEdit',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AddressSubAdd',
          cn: '子地址添加',
          path: '/address/subadd',
          componentPath: 'address/SubAdd',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'AddressSubEdit',
          cn: '子地址编辑',
          path: '/address/subedit',
          componentPath: 'address/SubEdit',
          level: 2,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    }
  ]
}

export default item
